package br.com.locasis.utilitarios;

import java.util.ArrayList;
import java.util.List;

import javax.faces.model.SelectItem;

public class UtilUfs {

	public static final String UF_AC = "AC"; 
	public static final String UF_AL = "AL";
	public static final String UF_AM = "AM";
	public static final String UF_AP = "AP";
	public static final String UF_BA = "BA";
	public static final String UF_CE = "CE";
	public static final String UF_DF = "DF";
	public static final String UF_ES = "ES";
	public static final String UF_GO = "GO";
	public static final String UF_MA = "MA";
	public static final String UF_MG = "MG";
	public static final String UF_MS = "MS";
	public static final String UF_MT = "MT";
	public static final String UF_PA = "PA";
	public static final String UF_PB = "PB";
	public static final String UF_PE = "PE";
	public static final String UF_PI = "PI";
	public static final String UF_PR = "PR";
	public static final String UF_RJ = "RJ";
	public static final String UF_RN = "RN";
	public static final String UF_RO = "RO";
	public static final String UF_RR = "RR";
	public static final String UF_RS = "RS";
	public static final String UF_SC = "SC";
	public static final String UF_SE = "SE";
	public static final String UF_SP = "SP";
	public static final String UF_TO = "TO";
	
	public static List<String> recuperaListaUfs(){
		List<String> lista = new ArrayList<String>();
		lista.add(UF_AC);
		lista.add(UF_AL);
		lista.add(UF_AM);
		lista.add(UF_AP);
		lista.add(UF_BA);
		lista.add(UF_CE);
		lista.add(UF_DF);
		lista.add(UF_ES);
		lista.add(UF_GO);
		lista.add(UF_MA);
		lista.add(UF_MG);
		lista.add(UF_MS);
		lista.add(UF_MT);
		lista.add(UF_PA);
		lista.add(UF_PB);
		lista.add(UF_PE);
		lista.add(UF_PI);
		lista.add(UF_PR);
		lista.add(UF_RJ);
		lista.add(UF_RN);
		lista.add(UF_RO);
		lista.add(UF_RR);
		lista.add(UF_RS);
		lista.add(UF_SC);
		lista.add(UF_SE);
		lista.add(UF_SP);
		lista.add(UF_TO);
		return lista;
	}
	
	public static List<SelectItem> recuperaListaUfsSelectItem(){
		List<SelectItem> lista = new ArrayList<SelectItem>();
		lista.add(new SelectItem(null,"Selecione"));
		lista.add(new SelectItem(UF_AC,UF_AC));
		lista.add(new SelectItem(UF_AL,UF_AL));
		lista.add(new SelectItem(UF_AM,UF_AM));
		lista.add(new SelectItem(UF_AP,UF_AP));
		lista.add(new SelectItem(UF_BA,UF_BA));
		lista.add(new SelectItem(UF_CE,UF_CE));
		lista.add(new SelectItem(UF_DF,UF_DF));
		lista.add(new SelectItem(UF_ES,UF_ES));
		lista.add(new SelectItem(UF_GO,UF_GO));
		lista.add(new SelectItem(UF_MA,UF_MA));
		lista.add(new SelectItem(UF_MG,UF_MG));
		lista.add(new SelectItem(UF_MS,UF_MS));
		lista.add(new SelectItem(UF_MT,UF_MT));
		lista.add(new SelectItem(UF_PA,UF_PA));
		lista.add(new SelectItem(UF_PB,UF_PB));
		lista.add(new SelectItem(UF_PE,UF_PE));
		lista.add(new SelectItem(UF_PI,UF_PI));
		lista.add(new SelectItem(UF_PR,UF_PR));
		lista.add(new SelectItem(UF_RJ,UF_RJ));
		lista.add(new SelectItem(UF_RN,UF_RN));
		lista.add(new SelectItem(UF_RO,UF_RO));
		lista.add(new SelectItem(UF_RR,UF_RR));
		lista.add(new SelectItem(UF_RS,UF_RS));
		lista.add(new SelectItem(UF_SC,UF_SC));
		lista.add(new SelectItem(UF_SE,UF_SE));
		lista.add(new SelectItem(UF_SP,UF_SP));
		lista.add(new SelectItem(UF_TO,UF_TO));
		return lista;
	}

}
